package com.cmf.myproject.service.security.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * Created by h.p on 2018/12/5.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class LoginUserInfo implements Serializable {

    private static final long serialVersionUID = -4589582260396441870L;

    private String id;
    private String userName;
    private String nickName;
    private String type;//账户类型：boss or merchant
    private List<BossRolePojo> roles; //boss用户存放
    private Long roleId; //merchant商户
    private String merchantId; //商户ID,type=merchant时才有
}
